<!DOCTYPE html>
<html lang="en">
<html xmlns="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>文件上传页面</h1>
<form th:action="@{/updown/upload}" method="post" enctype="multipart/form-data">
<input type="file" name="file"><br>
  <input type="submit" value="上传">
</form>
<div>
    <img style="width: 300px;height: 300px;border-radius: 150px" th:src="@{/updown/showpic(picname=${pic})}">
</div>
</body>
</html>